/*******************************************************************************
* This file implements the MAVLink to communicate with the groundstation.
*
* Author: Kong Wai Weng @ Cytron Technologies Sdn. Bhd.
*******************************************************************************/



#ifndef _EP_MAVLINK_H
#define _EP_MAVLINK_H



#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
#include "system.h"
#include "hal_uart.h"
#include "hal_gps.h"
#include "hal_ic.h"
#include "hal_adc.h"
#include "dcm.h"
#include "hal_bmp085.h"
#include "variables.h"
#include "airspeed.h"

#include "MAVLink/common/mavlink.h"



/*******************************************************************************
* PUBLIC FUNCTION PROTOTYPES                                                   *
*******************************************************************************/

/*******************************************************************************
* TASK: taskMavlinkHeartbeat
*
* DESCRIPTIONS:
* This task sends the heartbeat via MAVLink to indicate that it's alive.
*
*******************************************************************************/
portTASK_FUNCTION_PROTO(taskMavlinkHeartbeat, pvParameters);



#endif
